<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>测试页面</title>
  <link rel="stylesheet" href="css/common.css">
  <link rel="stylesheet" href="css/iconfont.css">
</head>

<body>

  <div id="app">
    <i class="iconfont">&#xe608;</i>
    <span>{{title}}</span>
    <input type="text" v-model="echo">
    <button @click="ajaxTest">ajax测试</button>
    <div>{{result}}</div>
    <hr>
    <div>门户信息：{{portable}}</div>
    <!-- 图片模式 -->
    <img width="100px" :src="portable.img | fileurl" alt="">
    <!-- 富文本编辑器模式 -->
    <div v-html="portable.message"></div>
    <!-- 文本模式 -->
    <div>{{portable.message}}</div>
  </div>

  <script src="https://cdn.bootcdn.net/ajax/libs/spark-md5/3.0.0/spark-md5.min.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.12/vue.min.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.min.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/qs/6.10.1/qs.min.js"></script>

  <script src="js/ajax.js"></script>
  <script src="js/test.js"></script>

</body>

</html>